package com.enlorenz.core.channel.socket.common.writer;

import com.enlorenz.common.util.StreamUtils;

/**
 * 加入长度的写出者
 * @author MAC
 */
public class LengthAppendMsgSocketWriter extends LengthAppendSocketWriter{
	
	protected byte [] getBytesFromMessage(Object message){
		return StreamUtils.transObject2ByteArray(message);
	}
	

}
